package com.example.renrenslidemenudemo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.widget.ImageView;



public class ActionActivity extends Activity {
	ImageView we;
	private static final int GOTO_MAIN_ACTIVITY=0;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.welcome);
		we=(ImageView)findViewById(R.id.we);
		handler .sendEmptyMessageDelayed(GOTO_MAIN_ACTIVITY, 4000);
		
	}
	private Handler handler=new Handler(){
		public void handleMessage(android.os.Message msg){
			switch (msg.what) {
			case GOTO_MAIN_ACTIVITY:
				Intent intent=new Intent(ActionActivity.this,FristActivity.class);
				
				startActivity(intent);
			
				break;

			}
		
		}
	};
}
